package com.edu.exam.enums.quality.monitoring;

import com.edu.exam.enums.core.BaseEnum;

/**
 * 评卷员状态枚举
 */
public enum GraderStatus implements BaseEnum {
    ACTIVE("ACTIVE", "活跃"),
    INACTIVE("INACTIVE", "非活跃"),
    BUSY("BUSY", "忙碌"),
    AVAILABLE("AVAILABLE", "可用"),
    ON_LEAVE("ON_LEAVE", "请假"),
    SUSPENDED("SUSPENDED", "停用"),
    TRAINING("TRAINING", "培训中"),
    QUALIFIED("QUALIFIED", "已认证"),
    UNQUALIFIED("UNQUALIFIED", "未认证"),
    RETIRED("RETIRED", "已退休");

    private final String code;
    private final String description;

    GraderStatus(String code, String description) {
        this.code = code;
        this.description = description;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDescription() {
        return description;
    }
}
